Release 10.1A: OpenEdge Application Server:
Developing AppServer Applications
Managing asynchronous requests
Asynchronous requests allow a Progress 4GL client to execute a remote procedure and continue execution before the AppServer has completed (or even begun) executing the remote request. This mechanism enhances client performance, especially in an event-driven application where the user can continue interacting with the client application while the AppServer processes the remote request.
In the following sections, when executing an asynchronous request, OpenEdge places the request on a send queue for the connection until the AppServer can execute the specified remote procedure. Similarly, when the procedure completes execution, OpenEdge places the results on a response queue, where the results wait until the client handles the
PROCEDURE-COMPLETEevent associated with the request. As a result, all asynchronous requests on a connection are guaranteed to be executed, with results returned, in the order you submit them. For more information on the send and response queues, see Chapter 1, " AppServer and Client Interaction."
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |